package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tjy
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwGoodsOrder对象", description="")
public class HsmwGoodsOrder extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "兑换积分")
    private String points;

    @ApiModelProperty(value = "选中规格")
    private String selectSpecifications;

    @ApiModelProperty(value = "司机对应id")
    private String driverId;

    @ApiModelProperty(value = "主图")
    private String mainPicture;

    @ApiModelProperty(value = "选中规格id")
    private String selectSpecificationsId;

    @ApiModelProperty(value = "商品id")
    private String goodsId;

    @ApiModelProperty("领取物品的状态 0：未领取 1:已领取 默认为0")
    private String receiveStatus;

    @ApiModelProperty(value = "库房校验码")
    @TableField(exist = false)
    private String validationCode;

    @ApiModelProperty(value = "库存")
    @TableField(exist = false)
    private Long stock;

    @ApiModelProperty("商品兑换的数量")
    private String goodsAmount;

    @ApiModelProperty("商品兑换消耗的积分")
    private String consumePoints;


}
